package view.completeView;

import javax.swing.JFrame;

import program.ExperimentManager;
import reference.constants.ConstantProblem;
import reference.constants.ConstantProgram;

public class CompleteFrame extends JFrame {

	private static final long serialVersionUID = -3558336319959904142L;
	private CompletePanel m_completePanel;

	public CompleteFrame(ExperimentManager experiment_manager){
		super("TaskManager1");
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setBounds(0, 0, ConstantProblem.BLOCK_SIZE*ConstantProblem.GROUND_WIDTH+ConstantProgram.FRAME_ADDITIONNAL_WIDTH, 
				ConstantProblem.BLOCK_SIZE*ConstantProblem.GROUND_HEIGHT+ConstantProgram.FRAME_ADDITIONNAL_HEIGHT);
		this.setVisible(true);
		m_completePanel = new CompletePanel(this, experiment_manager);
		this.add(m_completePanel);
		this.repaint();
	}
	
	
}
